package com.huaxin.hxmoduleworkorder.dto.request;

import com.huaxin.hxmoduleworkorder.common.annotation.validation.ValidCustomerType;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class InspectionOrderItemExistReqDTO {
    @Schema(description = "工单ID")
    @NotBlank(message = "工单ID不能为空")
    private String orderId;

    @Schema(description = "客户类型：commercial/residential", example = "commercial")
    @ValidCustomerType
    private String customerType;

    @Schema(description = "客户ID")
    private String customerId;

    @Schema(description = "配电房ID")
    private String roomId;

    @Schema(description = "配电箱ID")
    private String cabinetId;
}
